package guestbook;

import javax.faces.bean.SessionScoped;
import java.io.Serializable;
import javax.inject.Named;
import javax.inject.Inject;

@Named 
@SessionScoped
public class HelloBean implements Serializable {
 
	private static final long serialVersionUID = 1L;
	@Inject 
	private Dao dao;
 
	private String name;
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDaoData() {
		return dao.getDao();
	}	
	
}